package org.jeecg.modules.storage.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.storage.entity.PackageStorageMaterial;
import org.jeecg.modules.storage.mapper.PackageStorageMaterialMapper;
import org.jeecg.modules.storage.service.IPackageStorageMaterialService;
import org.jeecg.modules.storage.vo.PackageStorageMaterialVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 包材入库单物料
 * @Author: jeecg-boot
 * @Date:   2024-08-05
 * @Version: V1.0
 */
@Service
public class PackageStorageMaterialServiceImpl extends ServiceImpl<PackageStorageMaterialMapper, PackageStorageMaterial> implements IPackageStorageMaterialService {
	
	@Autowired
	private PackageStorageMaterialMapper packageStorageMaterialMapper;
	
	@Override
	public IPage<PackageStorageMaterialVo> selectByMainId(Page<PackageStorageMaterialVo> page, String mainId) {
		return packageStorageMaterialMapper.selectByMainId(page,mainId);
	}
}
